@import '../libs/vars';
@import '../libs/functions';
@import '../libs/mixins';

///
/// Eventually by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Basic */

	// MSIE: Required for IEMobile.
		@-ms-viewport {
			width: device-width;
		}

	// MSIE: Prevents scrollbar from overlapping content.
		#login {
			-ms-overflow-style: scrollbar;
		}

	// Ensures page width is always >=320px.
		@include breakpoint(xsmall) {
			#login {
				min-width: 320px;
			}
		}

	.body {
		height: 100%;
		overflow-x: hidden;
		width: 100%;

		@include breakpoint(short) {
			height: auto;
			min-height: 100%;
		}
		background-color: _palette(bg);
	}
	body{
		background-color: _palette(bg);
	}
	#login {
		@include vendor('display', 'flex');
		@include vendor('flex-direction', 'column');
		@include vendor('justify-content', 'center');
		
		padding: 6em 4em 4em 4em;

		> * {
			position: relative;
			z-index: 2;
		}

		&.is-loading {
			*, *:before, *:after {
				@include vendor('animation', 'none !important');
				@include vendor('transition', 'none !important');
			}
		}

		@include breakpoint(xlarge) {
			padding: 6em 3.5em 3.5em 3.5em;
		}

		@include breakpoint(small) {
			padding: 5em 2em 2em 2em;
		}

		@include breakpoint(xxsmall) {
			padding: 5em 1.25em 1.25em 1.25em;
		}
	}